package com.ebay.bean;

/**
 * Amigo object has id, name, age, country, state
 *
 * @author Jisheng Huang
 * @version 20250601
 */
public class Amigo {
    // Fields
    int id;
    String name;
    int age;
    String country;
    String state;

    /**
     * Constructor with all the parameters
     *
     * @param id      the id of the Amigo object
     * @param name    the name of the Amigo object
     * @param age     the age of the Amigo object
     * @param country the country of the Amigo object
     * @param state   the state of the Amigo object
     */
    public Amigo(int id, String name, int age, String country, String state) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.country = country;
        this.state = state;
    }

    /**
     * Empty constructor
     */
    public Amigo() {

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }


    @Override
    public String toString() {
        return "Amigo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", country='" + country + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
